package com.iterator.bean.web.dhy;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author: DHY
 * @Date: 2021/1/9 23:56
 * @Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RolePermissionsVO {
        private List<SystemPermissionsBean> systemPermissions;
        private List<String> assignedPermissions;
        @Data
        public static class SystemPermissionsBean {
            private String id;
            private String label;
            private List<ChildrenBeanX> children;

            @Data
            public static class ChildrenBeanX {
                private String id;
                private String label;
                private List<ChildrenBean> children;
                @Data
                public static class ChildrenBean {
                    private String id;
                    private String label;
                    private String api;


                }
            }
        }
    }

